//
//  MBProgressTool.h
//  BaseLib
//
//  Created by CPX on 2018/5/23.
//  Copyright © 2018年 CPX. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "MBProgressHUD.h"

/**
 HUD封装
 @author yzl
 */
@interface MBProgressTool : NSObject

+ (MBProgressHUD*)showTextForView:(UIView*)view text:(NSString*)text;

+ (MBProgressHUD*)showLoadingForView:(UIView*)view;

+ (MBProgressHUD*)showLoadingAndText:(UIView*)view text:(NSString*)text;

+ (void)hideForView:(UIView*)view;

@end
